home *** CD-ROM | disk | FTP | other *** search
/ Maclife 39 / MACLIFE39.ISO.7z / MACLIFE39.ISO / FreeWare200 / ディスク関連 / Disk Charmer 3.1.2.sit / Mac OS 8.1 and disk corruption < prev    next >
Text File  |  1998-03-22  |  2KB  |  26 lines

  1. Thanks to Fran腔is Grieu for the detailed report and the work-around suggestion.
  2.  
  3. Mac OS 8.1 (even when starting up with extensions disabled) may corrupt disks created by Disk Charmer 3.1 and earlier with the Make disks larger option. Such disks work fine under System 8.0 and earlier. The problem is exacerbated by the fact that system extensions or newer versions of the Mac OS may silently create additional invisible files, potentially corrupting disks that are just inserted and then ejected.
  4. Disk Charmer 3.1.1 and later create メlarger disksモ that should be safe under all known versions of the Mac OS. The work-around is explained in the technical section later in this document.
  5.  
  6. On a corrupted メlarger diskモ, Disk First Aid will report the disk as irrecoverably damaged:
  7.  
  8. Checking disk メ1k btClpSizeモ.
  9. Checking disk volume.
  10. Checking メHFSモ volume structures.
  11. Problem:  Invalid catalog PEOF, 4, 0
  12. Test done. Problems were found, but Disk First Aid cannot repair them.
  13.  
  14. I wrote a small test program that creates empty files until a catalog expansion is triggered. So far I have found that normal HFS and HFS Plus disks are never corrupted.
  15. Everything works fine under System 8.0, 7.6.1, and 7.1.2, even if the disk is locked and checked by Disk First Aid 8.1 under System 8.1.
  16.  
  17. Please note that using Disk Charmer is not the only way to create such disks. End users can obtain such disks in several other ways:
  18. ・ using the old freeware メ1433K free 0.2aモ by G&S Speranza
  19. ・ using the old メDisklosureモ by Gabriele de Simone
  20. ・ from an acquaintance, backup software or software publisher who wanted to pack more data on the disk
  21.  
  22. Technically inclined people, please read on
  23.  
  24. メLarger disksモ have shortened catalogs with a custom BTree clump size. The bug occurs when the BTree clump size is 1 KByte. Adding files triggers the expansion of the Catalog BTree. The first expansion goes fine: the Catalog BTree grows from 1K to 2K by addition of a 1K segment. Following the creation of the third Catalog BTree extent, the size of the Catalog BTree field is less than the sum of the size of the first three Catalog BTree extents.
  25. So far I did not have the patience to check if the additionally allocated blocks are reserved in the Volume Bitmap, and if these blocks are properly initialized. If not, this is bound to cause disasters later.
  26. The Make disks larger option now uses a 2K BTree clump size (instead of 1K), so that disks have 1K less free space now, but will work safely under Mac OS 8.1.